home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 98
/
Skunkware 98.iso
/
src
/
mail
/
pine3.96.tar.gz
/
pine3.96.tar
/
pine3.96
/
pine
/
osdep
/
rename
< prev
next >
Wrap
Text File
|
1993-07-15
|
367b
|
17 lines
/*----------------------------------------------------------------------
Rename a file
Args: tmpfname -- Old name of file
fname -- New name of file
Result: File is renamed. Returns 0 on success, else -1 on error
and errno is valid.
----*/
rename_file(tmpfname, fname)
char *tmpfname, *fname;
{
return(rename(tmpfname, fname));
}